<?php
include 'ZionHeader.inc';
?>

<HTML>
<head>
<title>ZionsAuto</title>

  <link rel="stylesheet" href="styles.css" type="text/css" />
  <style type="text/css">
  #footer {
   position:absolute;
   bottom:0;
   width:100%;
   height:20px;   /* Height of the footer */
  }
  
  #postAnnouncements {
	margin-left:10px;
  }
  
   </style>
</head>
<BODY>
<h1><center>Make An Announcement</center></h1>

<!-- Tab Menu Goes here -->
<div id="tabs">
  <ul>
    <li><a href="homePage.php"><span>Home</span></a></li>
    <li><a href="Browse.php"><span>Browse</span></a></li>
	<li><a href="announcement.php"><span>Announcement</span></a></li>
	<?php $AccountType = $_SESSION['AType'];
	if ($AccountType == 'R')
	{
		echo "<li id='dealerOnly'><a href='viewBookmark.php'><span>View Bookmarks</span></a></li>";
	}
	?>
	<li><a href="logout.php"><span>Log Out</span></a></li>
  </ul>
</div>

<div id="postAnnouncements">
	<form enctype="multipart/form-data" action="updateNewAnnouncement.php" method="post" name="announcement_form" >
	<!-- <form action="<?// echo "$PHP_SELF"?>" method="POST"> -->
	<h3> Make </h3>
	<textarea cols=11 rows=1 name="make" wrap=virtual></textarea>
	<h3> Model </h3>
	<textarea cols=11 rows=1 name="model" wrap=virtual></textarea>
	<h3> Year </h3>
	<textarea cols=4 rows=1 name="year" wrap=virtual></textarea>
	<h3> Price </h3>
	<textarea cols=11 rows=1 name="price" wrap=virtual></textarea>
	<h3> Vin </h3>
	<textarea cols=11 rows=1 name="vin" wrap=virtual></textarea>
	<h3> Cylinder </h3>
	<textarea cols=8 rows=1 name="cylinder" wrap=virtual></textarea>
	<h3> Drive </h3>
	<textarea cols=11 rows=1 name="drive" wrap=virtual></textarea>
	<h3> Color </h3>
	<textarea cols=11 rows=1 name="color" wrap=virtual></textarea>
	<h3> Description </h3>
	<textarea cols=20 rows=5 name="description" wrap=virtual></textarea>
	<h3> Mileage </h3>
	<textarea cols=11 rows=1 name="mileage" wrap=virtual></textarea>
	<h3> Number of Doors </h3>
	<textarea cols=11 rows=1 name="numberofdoors" wrap=virtual></textarea>
	<h3> Photo </h3>
	<input type="hidden" name="MAX_FILE_SIZE" value="10000000" />
	<input type="file" name="photo">


	<p><input type="submit" name = "postA" value=" Post "></p>
	</form>
</div>



<!-- Footer Goes Here -->
<!--
<div id="footer">
<hr>
<P>(C)Copyright 2011 Zion's DBA. All Rights Reserved</P>
</div>
-->

</BODY>
</HTML>